package com.keepmoving.po;

/**
 * 体能实体类
 * @author gyy
 */
public class Physical {

    /**
     * 体能表序号
     */
    private int pId;
    /**
     * 力量
     */
    private int power;
    /**
     * 忍耐力
     */
    private int endurance;
    /**
     *敏感性
     */
    private int sensitivity;
    /**
     * 协调性
     */
    private int coordinate;
    /**
     * 爆发性
     */
    private int explosive;

    public Physical() {
    }

    public Physical(int pId, int power, int endurance, int sensitivity, int coordinate, int explosive) {
        this.pId = pId;
        this.power = power;
        this.endurance = endurance;
        this.sensitivity = sensitivity;
        this.coordinate = coordinate;
        this.explosive = explosive;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getEndurance() {
        return endurance;
    }

    public void setEndurance(int endurance) {
        this.endurance = endurance;
    }

    public int getSensitivity() {
        return sensitivity;
    }

    public void setSensitivity(int sensitivity) {
        this.sensitivity = sensitivity;
    }

    public int getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(int coordinate) {
        this.coordinate = coordinate;
    }

    public int getExplosive() {
        return explosive;
    }

    public void setExplosive(int explosive) {
        this.explosive = explosive;
    }

    @Override
    public String toString() {
        return "Physical{" +
                "pId=" + pId +
                ", power=" + power +
                ", endurance=" + endurance +
                ", sensitivity=" + sensitivity +
                ", coordinate=" + coordinate +
                ", explosive=" + explosive +
                '}';
    }
}
